package com.cqc.paoclient.ui.code;

import com.cqc.paoclient.base.BaseRxPresenter;
import com.cqc.paoclient.base.BaseView;
import com.cqc.paoclient.model.CodeModel;

import java.util.BitSet;

/**
 * Created by cui on 2017/11/26.
 */

public interface Tab2Contract {

    interface View extends BaseView {
        void getCodeListSuccess(CodeModel codeModel);

        void getCodeListFail(String text);

        void loadMoreSuccess(CodeModel codeModel);
    }

    abstract class Presenter extends BaseRxPresenter<View> {
        abstract void getCodeList();
        abstract void loadMoreList();
    }
}
